package com.cqw.sms;


public class MWParamsVM {

    //账号
    private String appid;

    //密码
    private String secret;

    //内容
    private String message;

    //手机号
    private String mobile;

    //时间戳
    private String timestamp;

    //短信编码，中文或者英文  1,2
    private int format = 1;

    //扩展号码
    private String extNumber;


    public static MWParamsVM from(String userid, String pwd, String content, String mobile, String timestamp) {
        MWParamsVM mwParamsVM = new MWParamsVM();
        mwParamsVM.setAppid(userid);
        mwParamsVM.setSecret(pwd);
        mwParamsVM.setMessage(content);
        mwParamsVM.setMobile(mobile);
        mwParamsVM.setTimestamp(timestamp);
        return mwParamsVM;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public int getFormat() {
        return format;
    }

    public void setFormat(int format) {
        this.format = format;
    }

    public String getExtNumber() {
        return extNumber;
    }

    public void setExtNumber(String extNumber) {
        this.extNumber = extNumber;
    }
}
